import {createRouter, createWebHistory} from 'vue-router'
import LoginView from "@/views/LoginView.vue";
import IndexView from "@/views/IndexView.vue";
import RegisterView from "@/views/RegisterView.vue";

const router = createRouter({
	history: createWebHistory(import.meta.env.BASE_URL),
	routes: [
		{
		path: '/login',
		name: 'login',
		component: LoginView
	}, {
		path: '/',
		name: 'index',
		component: IndexView
	}, {
		path: '/register',
		name: 'register',	
		component: RegisterView	
	}
	]
})

export default router
